package util;

import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

public class EMFUtil {
	private static EntityManagerFactory emf = null;
	
	public static EntityManagerFactory getEMF(){
		if(emf == null)
			emf = Persistence.createEntityManagerFactory("J2Test");
		return emf;
	}
}
